﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace AdmissionQA.Infrastructure.Migrations
{
    /// <inheritdoc />
    public partial class InitUpdate5 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Embedding",
                table: "ScholarshipInfos",
                type: "vector(1536)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Embedding",
                table: "MajorInfos",
                type: "vector(1536)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Embedding",
                table: "Issues",
                type: "vector(1536)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Embedding",
                table: "CampusLives",
                type: "vector(1536)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Embedding",
                table: "AdmissionPolicies",
                type: "vector(1536)",
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Embedding",
                table: "ScholarshipInfos");

            migrationBuilder.DropColumn(
                name: "Embedding",
                table: "MajorInfos");

            migrationBuilder.DropColumn(
                name: "Embedding",
                table: "Issues");

            migrationBuilder.DropColumn(
                name: "Embedding",
                table: "CampusLives");

            migrationBuilder.DropColumn(
                name: "Embedding",
                table: "AdmissionPolicies");
        }
    }
}
